package com.yy.bolg.dao;

import com.yy.bolg.entity.FeedbackBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 上报故障/预警Dao层
 * @author enmaoFu
 * @date 2024-11-02
 */
@Mapper
public interface FeedbackDao extends BaseDao<FeedbackBean>{

    List<FeedbackBean> findAllByCondition(FeedbackBean bean);

    int upState(FeedbackBean bean);

    List<FeedbackBean> findAllByConditionToObserve(FeedbackBean bean);

    List<FeedbackBean> findAllByConditionToObserveNew(FeedbackBean bean);

    int addHik(FeedbackBean t);

    List<FeedbackBean> findAllByHikWaring();

    List<FeedbackBean> findAllByHikFault();

    List<FeedbackBean> findAllByHikWeek();

    List<FeedbackBean> findAllByCustomerWeek();

    List<FeedbackBean> findAllBySerialDate(FeedbackBean bean);

    List<FeedbackBean> findUnread(FeedbackBean bean);

    int upUnread(FeedbackBean bean);

    int upAppointUnread(FeedbackBean bean);

    int upAppointUnreadBackend(FeedbackBean bean);

    List<FeedbackBean> findUnreadBackend(FeedbackBean bean);

}
